from django.db import models


# Create your models here.

# class Product(models.Model):
#     id = models.AutoField(primary_key=True)
#     productname = models.CharField('产品名称', max_length=64)
#     productdesc = models.TextField('产品描述', max_length=200)
#     producter = models.CharField('产品负责人', max_length=200)
#     create_time = models.DateTimeField('创建时间', auto_now=True)
#
#     class Meta:
#         verbose_name = '产品管理'
#         verbose_name_plural = '产品管理'
#
#     def __str__(self):
#         return self.productname

class ManualPackage(models.Model):
    _id = models.CharField("MongoDB", max_length=25,primary_key=True)
    id = models.CharField("构建编号", max_length=100)
    status = models.CharField("构建状态", max_length=100)
    images = models.CharField("镜像", max_length=100)
    work_pod = models.CharField("工作负载", max_length=100)
    desc = models.TextField("描述", max_length=500)
    start_time = models.CharField("开始时间", max_length=100)
    end_time = models.CharField("结束时间", max_length=100)
